<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<script type="text/javascript">
	
</script>
<link href="css/apps/sparepart/list.css" type="text/css"
	rel="stylesheet" />
<script src="scripts/apps/sparepart/list.js" type="text/javascript"></script>
<form class="well form-inline" id="statform">
	<label>
	日期:
	</label>
	<input name="usedate" class="Wdate"  onClick="WdatePicker()" readonly />
	<button type="button" class="btn btn-inverse" id="statBtn">
	 <i class="icon-list-alt icon-white"></i>   
	统计
	</button>
</form>
<table class="table table-striped">
	<thead>
		<tr>
			<th>名称</th>
			<th>型号</th>
			<th>厂家</th>
			<th>代理商</th>
			<th>数量</th>
			<th>单价</th>
			<th>使用单位</th>
			<th>配套设备</th>
			<th>管理</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${pageData.rows}" var="item">
			<tr>
				<td>${item.name}</td>
				<td>${item.typicalness}</td>
				<td>${item.manufacture}</td>
				<td>${item.agent}</td>
				<td>${item.amount}</td>
				<td>${item.price}</td>
				<td>${item.owner.name}</td>
				<td>${item.host.name}</td>
				<td>
					<div class="btn-group">
						<button class="btn">管理</button>
						<button class="btn dropdown-toggle" data-toggle="dropdown">
							<span class="caret"></span>
						</button>
						<ul class="dropdown-menu">
					        <li><a href="#">查看</a></li>		
							<li><a href="#">删除</a></li>
						</ul>
					</div>


				</td>

			</tr>

		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="9">${pageData.pagination}</td>
		</tr>
	</tfoot>
</table>